package test1;

import java.net.MalformedURLException;
import java.net.URL;

public class Test {
    URL url;

    {
        try {
            url = new URL("www.baidu.com");
        } catch (MalformedURLException e) {
            e.printStackTrace();
        }
    }

    public static void main(String[] args) {
    }
}